package com.doc.service;


import com.doc.bean.Category;
import com.doc.bean.Page;
import com.doc.bean.URLSAVE;
import com.doc.bean.User;

import java.util.List;


public interface CategoryService {
	
	void delete(int id);
	Category get(int id);
	int add(Category category);
	int update(Category category);
	List<Category> list();
	List<Category> list(Page page);
	int getcount();
	List<User> selectall();
	int adduser(User user);
	void deleteuser(int id);
	User selectbyname(String name);
	int addURL(URLSAVE urlsave);
	URLSAVE selectbycontext(String url_context);
	List<URLSAVE> selectallcontext();
	List<URLSAVE> selectallsearch(String url_name);
}
